package com.example.common.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Entity
@Table(name = "doctor_config")
public class Config implements Serializable {

    private static final long serialVersionUID = 3730613137701480743L;
    @Id
    @Column(name = "dc_id_bigint", columnDefinition = "bigint(20)")
    private Long dcId;
    @Column(name = "net_referral_bit", columnDefinition = "tinyint(1)")
    private Boolean netReferral;
    @Column(name = "referral_price_money", columnDefinition = "decimal(10,2)")
    private BigDecimal referralPrice;
    @Column(name = "referral_valid_int", columnDefinition = "int(11) comment '分钟'")
    private Integer referralValid;
    @Column(name = "referral_reception_bit", columnDefinition = "tinyint(1)")
    private Boolean referralReception;
    @Column(name = "referral_service_bit", columnDefinition = "tinyint(1)")
    private Boolean referralService;
    @Column(name = "img_text_bit", columnDefinition = "tinyint(1)")
    private Boolean imgText;
    @Column(name = "img_text_price_money", columnDefinition = "decimal(10,2)")
    private BigDecimal imgTextPrice;
    @Column(name = "img_text_valid_int", columnDefinition = "int(11) comment '分钟'")
    private Integer imgTextValid;
    @Column(name = "img_text_reception_bit", columnDefinition = "tinyint(1)")
    private Boolean imgTextReception;
    @Column(name = "img_text_service_bit", columnDefinition = "tinyint(1)")
    private Boolean imgTextService;
    @Column(name = "phone_bit", columnDefinition = "tinyint(1)")
    private Boolean phone;
    @Column(name = "phone_price_money", columnDefinition = "decimal(10,2)")
    private BigDecimal phonePrice;
    @Column(name = "phone_valid_int", columnDefinition = "int(11) comment '分钟'")
    private Integer phoneValid;
    @Column(name = "phone_reception_bit", columnDefinition = "tinyint(1)")
    private Boolean phoneReception;
    @Column(name = "phone_service_bit", columnDefinition = "tinyint(1)")
    private Boolean phoneService;
    @Column(name = "video_bit", columnDefinition = "tinyint(1)")
    private Boolean video;
    @Column(name = "video_price_money", columnDefinition = "decimal(10,2)")
    private BigDecimal videoPrice;
    @Column(name = "video_valid_int", columnDefinition = "int(11) comment '分钟'")
    private Integer videoValid;
    @Column(name = "video_reception_bit", columnDefinition = "tinyint(1)")
    private Boolean videoReception;
    @Column(name = "video_service_bit", columnDefinition = "tinyint(1)")
    private Boolean videoService;
}
